package com.group.admin.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


import java.util.HashMap;


@Configuration
public class MyMqConfig {
    @Bean
    public Queue groupuser() {
        return new Queue(
                "groupuser",
                true,
                false,
                false
        );
    }
}